<div class="cat2">
<h2>лучшее</h2>
</div>
<div class="blok2">
 <div style="clear:both;"></div>
 <?php $my_query = new WP_Query("cat=$kon_cat&showposts=4"); 
         while ($my_query->have_posts()) : $my_query->the_post();
   ?>
  <?php $thumb = get_post_meta($post->ID, 'postimage', $single = true); ?>
<?php 
if($thumb !== '') { ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&amp;h=100&amp;w=100&amp;q=50&amp;zc=1" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>"  style="float:left; margin:5px 14px 12px 8px; border:5px solid #948d89;" /></a>
<?php }
else { echo ''; } ?>

<?php endwhile; ?>
  <div style="clear:both;"></div>
</div>